<template>
  <div class="about">
    <div class="content-box">
      <div class="padding-lr-32 padding-top-10">
        <div class="detail-banner">
          <div class="detail-person flex">
            <!--<div class="detail-per-img"></div>-->
            <div class="detail-per-des">
              <h3 class="title3">{{obj.ryName}}</h3>
              <p class="text">{{obj.safetyTypeName}}</p>
            </div>
          </div>
        </div>

        <div class="tab padding-tb-32">
          <a href="javascript:;" class="active" @click="tab(1)">证书信息</a>
        </div>

        <div class="info">

          <section class="info-item">
            <div class="info-item-small">
              <div class="info-item-small-label" style="text-align-last: justify;">性别</div>
              <div class="info-item-small-val">{{obj.rySex === "RY_XB_0002"?'女':'男'}}</div>
            </div>
            <div class="info-item-small">
              <div class="info-item-small-label">出生年月</div>
              <div class="info-item-small-val">{{obj.ryBirthday}}</div>
            </div>

            <div class="info-item-small">
              <div class="info-item-small-label">身份证号</div>
              <div class="info-item-small-val">{{obj.ryCardNo}}</div>
            </div>
          </section>


          <section class="info-item">

            <div class="info-item-small">
              <div class="info-item-small-label" style="text-align-last: justify;">单位</div>
              <div class="info-item-small-val">{{obj.qyName}}</div>
            </div>

            <div class="info-item-small">
              <div class="info-item-small-label">证书编号</div>
              <div class="info-item-small-val">{{obj.safetyNo}}</div>
            </div>
            <div class="info-item-small">
              <div class="info-item-small-label">有效日期</div>
              <div class="info-item-small-val">{{obj.safetyEdate}}</div>
            </div>
            <div class="info-item-small">
              <div class="info-item-small-label">发证机关</div>
              <div class="info-item-small-val">{{obj.issueUnitName}}</div>
            </div>
            <div class="info-item-small">
              <div class="info-item-small-label">发证日期</div>
              <div class="info-item-small-val">{{obj.safetySDate}}</div>
            </div>


          </section>
        </div>

      </div>
    </div>

  </div>
</template>
<script>
  export default {
    data() {
      return {
        obj:{}
      }
    },
    created() {
      this.obj = this.$route.query;
    },
    methods: {
    }
  };
</script>
